package com.yjps.system.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jessy on 2015/9/1.
 */

public class DemandCodeData {
    private List<Code> house = new ArrayList<>();
    private List<Code> city = new ArrayList<>();
    private List<Code> county = new ArrayList<>();
    private List<Code> town = new ArrayList<>();
    private List<Code> area = new ArrayList<>();

    public List<Code> getHouse() {
        return house;
    }

    public void setHouse(List<Code> houses) {
        /*if(houses != null && houses.size()>0){
            for(Code code : houses){
                house.add(code.getCodeValue());
            }
        }*/
        this.house = houses;
    }

    public List<Code> getCity() {
        return city;
    }

    public void setCity(List<Code> cities) {
        this.city = cities;
    }

    public List<Code> getCounty() {
        return county;
    }

    public void setCounty(List<Code> counties) {
        this.county = counties;
    }

    public List<Code> getTown() {
        return town;
    }

    public void setTown(List<Code> townes) {
        this.town = townes;
    }

    public List<Code> getArea() {
        return area;
    }

    public void setArea(List<Code> areaes) {
        this.area = areaes;
    }
}
